package FirstExampe.pre;

public class Test {
	public static void main(String[] args) {
		Movie movie1 = new Movie("a", 0);
		Movie movie2 = new Movie("b", 1);
		Movie movie3 = new Movie("c", 2);
		Rental rental1 = new Rental(movie1, 1);
		Rental rental2 = new Rental(movie2, 2);
		Rental rental3 = new Rental(movie3, 3);
		Customer customer = new Customer("fdd");
		customer.addRentals(rental1);
		customer.addRentals(rental2);
		customer.addRentals(rental3);
		System.out.println(customer.statment());
	}
}
